package com.xinyue.auto.bean;

/**
 * bean属性对象
 * 数据库主键对象
 */
public class MajorKey {
	/**属性名称*/
	private String name;
	/**属性类型*/
	private String type;
	/**注解类型*/
	private String[] annotations;
	/**属性描述信息*/
	private String desc;
	
	/**数据库字段名称*/
	private String dbName;
	/**长度*/
	private String length;
	
	/**MySQL支持自增主键起始值*/
	private String start;
	/**是否是自增主键*/
	private boolean autoKey;
	
	//getter setter
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String[] getAnnotations() {
		return annotations;
	}
	public void setAnnotations(String[] annotations) {
		this.annotations = annotations;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getDbName() {
		return dbName;
	}
	public void setDbName(String dbName) {
		this.dbName = dbName;
	}
	public String getLength() {
		return length;
	}
	public void setLength(String length) {
		this.length = length;
	}
	public String getStart() {
		return start;
	}
	public void setStart(String start) {
		this.start = start;
	}
	public boolean isAutoKey() {
		return autoKey;
	}
	public void setAutoKey(boolean autoKey) {
		this.autoKey = autoKey;
	}
}